import request from '../utils/request'
//获取所有角色数据
export const getAllRoleApi = (query) => request("/role", {
    method: "get",
    query
})
//删除角色
export const delRoleApi = (roleId) => request("/role/" + roleId, {
    method: "delete"
})